//
//  AKPMessageTableViewCell.m
//  Copy_AiKapPu_Personal_OC
//
//  Created by taojianz on 2017/7/13.
//  Copyright © 2017年 taojianz. All rights reserved.
//

#import "AKPMessageTableViewCell.h"

@implementation AKPMessageTableViewCell

-(instancetype)initWithContent:(NSString *)imageStr andTitle:(NSString *)title andContent:(NSString *)content{
    if (self = [super init]){
    
        [self setCellContent:imageStr andTitle:title andContent:content];
        
    }
    
    
    return self;
}

- (void)setCellContent:(NSString *)imageStr andTitle:(NSString *)title andContent:(NSString *)content{
    self.avatarImageView.image = [UIImage imageNamed:imageStr];
    self.titleLabel.text = title;
    self.contentLabel.text = content;
}

- (void)awakeFromNib {
    [super awakeFromNib];
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    
}

@end
